<template>
  <div class="avue-logo">
        <img class="avue-logo_logo" src="@/static/images/favicon.png"/>
        <span class="avue-logo_title"
              key="1">{{website.indexTitle}} </span>
  </div>
</template>

<script>
    import { mapGetters } from "vuex";
    export default {
        name: "top-logo",
        data() {
            return {};
        },
        created() {},
        computed: {
            ...mapGetters(["website", "keyCollapse"])
        },
        methods: {}
    };
</script>

<style lang="scss">
  .fade-leave-active {
    transition: opacity 0.2s;
  }
  .fade-enter-active {
    transition: opacity 2.5s;
  }
  .fade-enter,
  .fade-leave-to {
    opacity: 0;
  }
  .avue-logo {
    background: transparent;
    height: 80px;
    line-height: 80px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1024;
    display: flex;
    flex-direction: row;
    align-items: center;
    &_logo {
      margin-left: 16px;
      height: 23px;
      width: 23px;
    }
    &_title {
      color: #666666;
      margin-left: 8px;
      display: block;
      text-align: center;
      font-weight: 400;
      font-size: 20px;
    }
    &_subtitle {
      display: block;
      text-align: center;
      font-size: 18px;
      font-weight: bold;
      color: #fff;
    }
  }
</style>
